package com.xxh.springclouddemo.nacos.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * nacos 动态配置
 * @Author xxh
 * @Date 2024/4/15 22:25
 */
@Component
@ConfigurationProperties(prefix = "student")
public class NacosConfig {


    private String name;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
